﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Rule
{
    public class Player
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private AbilityGroup abilities;
        public AbilityGroup Abilities
        {
            get { return abilities; }
            set { abilities = value; }
        }

        private List<Trait> traits;
        public List<Trait> Traits
        {
            get { return traits; }
            set { traits = value; }
        }

        private CareerType career;
        public CareerType Career
        {
            get { return career; }
            set { career = value; }
        }

        private List<LevelUp> levels;
        public List<LevelUp> Levels
        {
            get { return levels; }
            set { levels = value; }
        }

        public Player(string name, CareerType career, List<Trait> traits)
        {
            Name = name;
            Career = career;
            Traits = traits;
        }

        public Player()
            : this("", null, new List<Trait>())
        {
        }
    }
}
